package com.hhq.common.enums;

import lombok.Getter;

/**
 * <p>Description: 结果枚举 </p>
 *
 * @author : xiaodong.yang
 * @date : 2023/10/9 15:46
 */
@Getter
public enum ResultEnum {

    CODE_SUCCESS("0", "成功"),

    SYSTEM_ERROR("-1", "系统错误"),

    BUSINESS_ERROR("10000", "业务异常"),
    ;

    private final String code;
    private final String msg;

    ResultEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
